Repository navigation
Conversation
… each shade and part is tested
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
PR Analysis Report
Generated by PR Enrichment workflow | View current CI run |
There was a problem hiding this comment.
Requesting changes. The empty-name fix follows the Spinner record's name order, and its six new empty-name tests fail on the base source and pass on this branch (reproduced locally); the blocking items are a stale lint baseline and wording that misdescribes the fix.
Blocking
- The comment-provenance baseline is out of date: CI's
lintjob fails becauseinternal/eslint-plugin-astryx/no-comment-provenance.baseline.jsonstill lists the#5410citation this change removed fromSpinner.tsx, so runnode internal/eslint-plugin-astryx/no-comment-provenance.baseline.mjsand commit the result. - Title and changeset overstate the "Loading" fallback: with a string label beside an empty
aria-label, the Spinner is named and announced by that label, so write "an empty or blank name falls back to the label, then "Loading"" in the title and "an unlabelled standalone Spinner with an empty or blankaria-labelnow announces "Loading"" in the changeset. - The
labeldocs do not say a blank label is ignored: the English, Chinese and denselabelentries, the densearia-labelentry and thelabelJSDoc say any "non-empty" string label names the indicator, butlabel=" "does not, so reuse thearia-labelentry's "an empty or blank value counts as unset" there and in the description's and changeset's "non-empty" wording. - Comments still narrate history:
Spinner.tsx:188-192still justifies the inline box size by "a precedence over the box that it has never had", so state only the constraint (a rule would let a caller'sstyle={{width}}override the box);Spinner.test.tsx:194-200and:367-369read the same way.
Non-blocking
- Flex-shrink comment reads backwards:
Spinner.tsx:197-199makes the host'smin-width: 0sound like the reason the box keeps its size; say thatflex-shrink: 0does. - Eligibility report names the previous commit: refresh it from this commit, where six empty-name tests fail on the base source, not five.
Claims and files checked
Review mode: full; reason: no-earlier-review
- Title, an empty name falls back to "Loading": false; with a string label the name is the label (blocking item 2).
- Title, each shade and part is tested: verified by the shade-paint, ownership and ring tests, run here.
- Changeset, an empty or blank
aria-labelor stringlabelno longer leaves no name: verified; the new tests fail on the base source and pass here. - Changeset, the fallback is a string label, then "Loading": verified in code; its "non-empty" wording misses blank labels (blocking item 3).
- Changeset, an empty
aria-labelnow announces "Loading": false for a labelled Spinner, which announces its label (blocking item 2). - Changeset and docs,
aria-hiddensilences a composed Spinner: verified by code and an existing test. - Description, empty and blank values used to give an empty name: verified on the base source.
- Description, docs match the behavior: false for blank values (blocking item 3); the new best practice is in all three doc sets: verified.
- Description, the
Shadesstory shows all four shades: verified with frames captured here. - Description, the new unit tests fail if each named part moves or changes: verified by reading each assertion; the mutation runs are reported.
- Description, the browser audit spec covers every size, shade, label form and narrow host in light, dark and both directions: verified by reading; not run at this head.
- Description, comments no longer narrate history or cite pull requests: no pull request numbers remain; one source comment still narrates history (blocking item 4).
- Description, only the name fallback changes at runtime, with no prop, default, style or pixel change: verified; the API surface is unchanged and unchanged stories render pixel-identical.
- Description, no record change: verified.
- Description, unit test counts, Core typecheck and changeset check: verified here (79 Spinner tests; 609 across the listed suites), and so is the Storybook typecheck; lint of the changed files shows no errors here, and the strict-lint result is reported; CI's
lintjob fails at this head on the comment-provenance baseline (blocking item 1). - Description, scores, sensitivity, open-PR overlap, contrast figures, mutation counts and the pending browser run: reported.
- Files:
.changeset/spinner-audit.md(blocking item 2);apps/storybook/stories/Spinner.stories.tsx(clear);packages/core/src/Spinner/Spinner.doc.mjs(blocking item 3);packages/core/src/Spinner/Spinner.test.tsx(clear; two comments noted under blocking item 4);packages/core/src/Spinner/Spinner.tsx(blocking items 1, 3 and 4; one non-blocking note);packages/core/src/Spinner/__tests__/SpinnerAudit.a11y.chromium.spec.ts(clear, not run).
There was a problem hiding this comment.
Requesting changes. The empty-name fix follows the Spinner record's name order, and earlier blockers (the lint baseline, the label docs and the history comments) are fixed; three wording claims still misdescribe the change.
Blocking
- The changeset says a Spinner whose name was empty now announces its name: one with label text still announces that text, so
aria-label=""beside a rich label is now named "Loading" but announces the label's own text, and a string label was announced before this change too (reproduced locally in Chromium and the unit environment); write "A standalone Spinner that shows no label text and had an empty or blank name now announces "Loading"; one with label text still announces that text." - The title says an empty name falls back to any label: a rich-node label never names the indicator, so
aria-label=""beside one gives "Loading"; write "an empty name falls back to a string label, then "Loading"", as the changeset and docs already do. - The description still says any non-empty value names it as before: "A non-empty
aria-labelor stringlabelnames it as before" is false for blank values, which name nothing, and for a string label beside an emptyaria-label, which did not name the indicator before and does now; write "Anaria-labelwith text, or else a stringlabelwith text, names it as before; a string label beside an empty or blankaria-labelnow names it too."
Claims and files checked
Review mode: incremental; reason: none
- changed rules (0)
- Title, an empty name falls back to the label, then "Loading": false for a rich label (blocking item 2).
- Title, each shade and part is tested: verified; the shade-paint, ownership and ring tests pass, run locally.
- Changeset, an empty or blank
aria-labelor stringlabelno longer leaves the indicator unnamed: verified in Chromium's accessibility tree, base and head, and by the new name tests, which fail on the base source. - Changeset, an empty or blank value counts as unset, then a string label with text, then "Loading": verified.
- Changeset, a Spinner whose name was empty now announces its name: false for a Spinner with label text (blocking item 1).
- Changeset and docs,
aria-hiddensilences a Spinner inside a busy control: verified by the code and an existing test. - Description, empty and blank values used to give an empty name: verified on the base source in Chromium.
- Description, a non-empty
aria-labelor stringlabelnames it as before: false (blocking item 3). - Description, an unlabelled Spinner with an empty or blank
aria-labelnow announces "Loading" where it was silent: verified in Chromium's live region (the blank case sent only whitespace). - Description, the docs and the
labelJSDoc say empty or blank counts as unset, and the new best practice is in all three doc sets: verified. - Description, the
Shadesstory shows all four shades: verified with frames captured locally. - Description, the new unit tests, their counts and what each would catch: verified by reading and running; the mutation results are reported.
- Description, the browser audit spec covers every size, shade, label form and narrow host in light, dark and both directions: verified by reading; not run.
- Description, touched comments no longer cite pull requests or narrate earlier versions, and the lint baseline drops the removed citation: verified; the baseline check passes locally.
- Description, only the name and announcement fallback change at runtime, with no prop, default, style or API change: verified; the API report shows no change.
- Description, no record change, with the caller-ARIA gap, the record follow-up and the empty visible label left open: verified.
- Description, scores, contrast figures, before and after receipt counts, earlier-commit test, typecheck and lint runs, and open pull request overlap: reported.
- Files:
.changeset/spinner-audit.md(blocking item 1);apps/storybook/stories/Spinner.stories.tsx(clear);internal/eslint-plugin-astryx/no-comment-provenance.baseline.json(clear);packages/core/src/Spinner/Spinner.doc.mjs(clear);packages/core/src/Spinner/Spinner.test.tsx(clear);packages/core/src/Spinner/Spinner.tsx(clear);packages/core/src/Spinner/__tests__/SpinnerAudit.a11y.chromium.spec.ts(clear, not run).
There was a problem hiding this comment.
Requesting changes. The empty-name fix follows the Spinner record's name order, and its new tests, docs and Shades story are correct (the six new name tests fail on the base source and pass here, and a Chromium accessibility-tree check agrees); three claims in the release note and description are not true at this head.
- The changeset's announcement sentence drops the after-page-load bound: a Spinner present while the page loads stays silent, as do ones with a caller
roleother thanprogressbar,aria-hidden, or an enclosing live region, so please write "… now announces "Loading" when it appears after page load, as any other standalone Spinner does; one with label text still announces that text." - Miss: The description says no story showed
subtleorinherit, but the base's ThemedColor and PullToRefresh stories rendersubtleand the Indicator BusyChildren and BusyToggle stories renderinherit, so the User impact bullet, the docs score row and the X10 row should say only that theShadesstory lacked them. - The description says the head changes only comments and docs after the commit its unit-test run used, but it also edits the changeset and the comment-provenance baseline, so please use the wording the After bullet already has.
- Miss: Non-blocking: two rewritten comments in
Spinner.tsxrun long under INV29 (lines 188-191 and 214-219); the inline comment suggests shorter wording.
Claims and files checked
Review mode: incremental; reason: none
- Title: an empty name falls back to a string label, then "Loading" — verified (name tests; accessibility tree, run here)
- Title: each shade and part is tested — verified (shade-paint, ownership, hidden-ring, start-rotation and label tests)
- Changeset: an empty or blank
aria-labelor stringlabelno longer leaves the indicator unnamed — verified - Changeset: the fallback order — verified
- Changeset: a standalone Spinner with no label text and an empty name now announces "Loading" — false (page load and the other silent cases)
- Changeset:
aria-hiddensilences a Spinner inside a busy control — verified - Description: the four empty cases had empty names before — verified (accessibility tree on the base, run here)
- Description: the new order, and a string label naming it beside an empty
aria-label— verified - Description: an unlabelled standalone Spinner with an empty
aria-labelannounces "Loading" when it appears — verified - Description: docs and JSDoc describe blank values; the new
aria-hiddenbest practice — verified - Description: the
Shadesstory now shows all four shades — verified; no story showedsubtleorinheritbefore — false - Description: the new test inventory and what each test pins — verified; mutation results — reported
- Description: the browser audit spec's coverage — verified by reading; not yet run in CI (draft)
- Description: comments no longer cite pull requests or narrate history, and the baseline drops the citation — verified (baseline check, run here)
- Description: no prop, default, style or rendered pixel change — verified (API generator: no changes, run here)
- Description: no overlapping open pull request — reported
- Description: audit scores and before/after receipts — reported
- Description: after the receipt run the head changes only comments, docs, the changeset and the lint baseline — verified; only comments and docs after the unit-test run — false
- Description: the three needs-review items match the record and the code — verified
.changeset/spinner-audit.md— findingapps/storybook/stories/Spinner.stories.tsx— clearinternal/eslint-plugin-astryx/no-comment-provenance.baseline.json— clearpackages/core/src/Spinner/Spinner.doc.mjs— clearpackages/core/src/Spinner/Spinner.test.tsx— clearpackages/core/src/Spinner/Spinner.tsx— clear (non-blocking comment note)packages/core/src/Spinner/__tests__/SpinnerAudit.a11y.chromium.spec.ts— clear
There was a problem hiding this comment.
Requesting changes. The empty-name fix follows the Spinner record's name order, and the release note's announcement sentence is now bounded to after page load. The name logic, tests, docs and Shades story are correct: the six new name tests fail on the base source and pass here, and Chromium's accessibility tree agrees, both run locally. Two claims in the description are still not true at this head.
- The description says no story showed
subtleorinherit, but the base's ThemedColor and PullToRefresh stories rendersubtleand the Indicator BusyChildren and BusyToggle stories renderinherit, so the User impact bullet, the docs score row and the X10 row should say only that theShadesstory lacked them. - The description says the head changes only comments and docs after the commit its unit-test run used, but it also edits the changeset and the comment-provenance baseline, so please use the wording the After bullet already has.
- Non-blocking: the svg comment in
Spinner.tsxstill has a 29-word sentence under INV29 (lines 213-216); the inline comment suggests two shorter sentences. - Non-blocking: the description's After bullet and eligibility report still name the previous commit as the head; this head only adds another commit of the same kind.
Claims and files checked
Review mode: incremental; reason: none
- Title: an empty name falls back to a string label, then "Loading" — verified (accessibility tree and name tests, run locally)
- Title: each shade and part is tested — verified (shade-paint, ownership, hidden-ring, start-rotation and label tests)
- Changeset: an empty or blank
aria-labelor stringlabelno longer leaves the indicator unnamed — verified - Changeset: the fallback order — verified
- Changeset: a standalone Spinner with no label text and an empty name announces "Loading" when it appears after page load, as any other does; one with label text still announces that text — verified (mount-after-load probe and announcement tests, run locally)
- Changeset:
aria-hiddensilences a Spinner inside a busy control — verified - Description: the four empty or blank cases had empty names before — verified (accessibility tree on the base, run locally)
- Description: the new order, and a string label naming it beside an empty or blank
aria-label— verified - Description: an unlabelled standalone Spinner with an empty or blank
aria-labelannounces "Loading" when it appears, as any other does, and was silent before — verified - Description: docs and JSDoc describe blank values; the new
aria-hiddenbest practice in all three doc sets — verified - Description: the
Shadesstory now shows all four shades — verified; no story showedsubtleorinheritbefore — false - Description: the new test inventory and what each test pins — verified; mutation results — reported
- Description: the browser audit spec's coverage — verified by reading; CI routes it to audit pull requests but has not run on this draft
- Description: comments no longer cite pull requests or narrate history, and the baseline drops the citation — verified (baseline check, run locally)
- Description: no prop, default, style or rendered pixel change — verified (API generator: no changes, run locally)
- Description: three do's, two don'ts, a hero block and three examples — verified
- Description: no overlapping open pull request — reported
- Description: audit scores, contrast figures and before/after receipts — reported
- Description: after the receipt run only comments, docs, the changeset and the lint baseline changed — verified (the named head is one commit behind); only comments and docs after the unit-test run — false
- Description: the three needs-review items match the record and the code — verified
.changeset/spinner-audit.md— clearapps/storybook/stories/Spinner.stories.tsx— clearinternal/eslint-plugin-astryx/no-comment-provenance.baseline.json— clearpackages/core/src/Spinner/Spinner.doc.mjs— clearpackages/core/src/Spinner/Spinner.test.tsx— clearpackages/core/src/Spinner/Spinner.tsx— clear (non-blocking comment note)packages/core/src/Spinner/__tests__/SpinnerAudit.a11y.chromium.spec.ts— clear- changed rules (0): none
There was a problem hiding this comment.
Approved pending CI. CI has not run on this head yet. The empty-name fallback follows the Spinner record's name order, and the description's story-coverage and tested-commit claims are now bounded correctly.
- Miss: Non-blocking: two comments this pull request rewrites in
Spinner.tsxbreak INV29's sentence length (lines 88-91 and 193-194); see the inline suggestions.
Claims and files checked
Review mode: incremental; reason: none
- changed rules (0): none
- Claim: an empty name falls back to a string label, then "Loading" - verified (browser accessibility tree on base and head, run here;
Spinner.tsx:430-442) - Claim: each shade and part is tested - verified (shade-paint, ownership, ring and naming tests pass, run here)
- Claim: before, an empty or blank
aria-labelor stringlabelgave an empty name - verified (browser accessibility tree on the base, run here) - Claim: the next name source in the record's order now applies, and a string label beside an empty or blank
aria-labelnames it - verified (accessibility tree and probe tests, run here) - Claim: an unlabelled standalone Spinner with an empty or blank
aria-labelannounces "Loading" after page load, silent before - verified (live region on base and head, run here) - Claim: docs and JSDoc say an empty or blank value counts as unset, plus an
aria-hiddenbest practice - verified (Spinner.doc.mjs:38,:44,:105-109and the Chinese and dense sets;Spinner.tsx:370-373) - Claim: the
Shadesstory renders all four shades, where it rendered onlydefaultandonMedia- verified (base and head frames, run here) - Claim: the new unit tests (5 name, 1 announcement, 4 ownership, 4 shade, 1 start-rotation assertion) catch the listed changes - verified for the counts and assertions (
Spinner.test.tsx:834-837,:845-960); the mutation runs are reported - Claim: the browser audit spec checks every size, shade, label form and narrow host in light, dark and both directions - verified by reading the spec; its receipts are reported (not run here or in CI at this head)
- Claim: the Spinner source and the touched test comments no longer cite pull requests or narrate earlier versions - verified (search of the Spinner folder; baseline check passes, run here)
- Claim: the runtime change is only the name and announcement fallback, with no prop, default, style or rendered pixel change - verified (API generator 0 rows, run here; source diff)
- Claim: after the commit its tests ran on, the head changes only comments, docs, the changeset and the lint baseline - verified (diff from that commit to the head)
- Claim: the Spinner suites pass (80 tests) - verified (79 and 1 pass at the head, run here)
- Claim: no open pull request touches the Spinner folder or its stories - reported (five open pull requests that mention Spinner spot-checked)
- Claim: audit scores, before and after receipts, mutation results, typechecks and the first commit's wider run - reported
- Claim: the changeset's fallback, announcement and
aria-hiddensentences - verified (accessibility tree and live region, run here); patch classification - verified (check:changesets, run here) - Claim: the open items (caller ARIA beside a label, record follow-up, empty visible label) - verified as stated against the record
- File:
.changeset/spinner-audit.md- clear - File:
apps/storybook/stories/Spinner.stories.tsx- clear - File:
internal/eslint-plugin-astryx/no-comment-provenance.baseline.json- clear - File:
packages/core/src/Spinner/Spinner.doc.mjs- clear - File:
packages/core/src/Spinner/Spinner.test.tsx- clear - File:
packages/core/src/Spinner/Spinner.tsx- non-blocking comment note - File:
packages/core/src/Spinner/__tests__/SpinnerAudit.a11y.chromium.spec.ts- clear
| * it through an inline `width`/`height` with the size's own default as the | ||
| * `var()` fallback, so a render with no stylesheet — where nothing declares | ||
| * it — still sizes the box the way it always did. A registered property always | ||
| * it — still sizes the box at the size's default. A registered property always |
There was a problem hiding this comment.
Non-blocking (INV29): the sentence that ends here runs to 37 words. Suggest: "The element reads it through an inline width/height, with the size's own default as the var() fallback. So a render with no stylesheet still sizes the box at that default."
| // it to the automatic minimum size, which a host takes away again the | ||
| // moment it sets `min-width: 0` on its items. A spinner that does not fit | ||
| // overflows its host visibly instead of being silently sliced. | ||
| // A flex host must not compress the box: the ring draws at its own size, |
There was a problem hiding this comment.
Non-blocking (INV29): this sentence runs to 26 words and joins an instruction to its reason. Suggest: "The ring draws at its own size, so a compressed box cuts it off at its edge. A flex host must not compress the box."
Scope
Components: Spinner
User impact
aria-label="", a blankaria-label,label=""or a blank stringlabelnamed the progressbar with an empty string (WCAG 2.2 4.1.2). Now an empty or blank value counts as unset, so the indicator takes the next name in the record's order: a string label with text, then the translated "Loading" (component:SpinnerORD1, AR1). Anaria-labelwith text, or else a stringlabelwith text, names it as before; a string label beside an empty or blankaria-labelnow names it too.aria-labelappears after page load, as for any other standalone Spinner. Before, the empty name made it silent. The record says a standalone Spinner announces and no prop silences it (AR1); a Spinner inside a busy control is hidden witharia-hidden. The changeset says so.aria-labelandlabeldocs and JSDoc say an empty or blank value counts as unset, and a new best practice says to hide a Spinner witharia-hiddeninside a control that already reports that it is busy (component:SpinnerAR1,spec:AST-086FR8).Shadesstory now renders all four shades. Before, it rendered onlydefaultandonMedia, so the shade comparison story showed nosubtleorinheritring.spinnertarget, a callerclassNameorxstyleleave the element the record names in either form; if a labelled Spinner declares the public vars on the inner indicator; if a shade's arc color, track color or track opacity changes; if the track or the rotor losesaria-hidden; or if the arc loses its start rotation. Each fails under a matching mutation of the source.architecture:knowledge-contractsINV29); and the test comments that described earlier versions now state the constraint only.Audit result
core/Spinner(released in@astryxdesign/coreunder./Spinner)1.16.65bc436817b9acomponent:Spinner(authority: current), witharchitecture:public-component-api,architecture:component-theming-surface,architecture:internationalization,spec:AST-020,spec:AST-086andspec:AST-017. No backfill: the record maps the whole inventory. No record change (see Needs Review 2).Overlap checked: no open pull request changes a file under
packages/core/src/Spinner/orSpinner.stories.tsx.§10 is
limited: the ring has no reflow, breakpoint, overlay or hit target, so fewer than a third of its checks can fail. Its weight (5) is spread over the other sections in proportion (each weight × 100/95).Sensitivity: the grade is capped at C by one pre-existing BLOCK (Needs Review 1). Closing it and changing nothing else lifts §1 and §4 to 5: 99.2 / A.
role="progressbar"with noaria-valuenow, named by ORD1; a string label names it througharia-labelledbyand is not repeated; the ring isaria-hidden; the default name is translated; a standalone Spinner announces through the shared channel, a composed one is silent; reduced motion slows the ring (AR4); axe clean in every captured state. BLOCK closed: an empty or blankaria-labelor stringlabelleft the indicator with an empty name (A1, WCAG 4.1.2). BLOCK open: with alabel, a calleraria-labelledby(and other ARIA props) lands on the role-less wrapper, so it names nothing (A1; recorded gap; Needs Review 1)spinnertarget on the painting element (the indicator, or the wrapper with a label), reflectingsizeandshade; the five public vars are declared only there (FR6); arc and track from tokens;shadeis a closed union and no current record makes it theme-extensible (architecture:component-theming-surfaceINV14 permits, does not require), so T19 is an authority gap, not a findingBaseProps;refin props;displayName; derivedSpinnerSize; JSDoc defaults agree with the docs; passthrough placement is FR1's (cross-reference: the wrapper ARIA gap, scored in §1)--spacing-2label gap; motion is atransformon the rotor at--duration-slow-min, linear. Reduced motion slows the ring to 3 s and does not stop it:component:SpinnerAR4 decides this, so it is expected, not a D12 findingsubtleorinherit(partial coverage); after: all four shades. The arc's contrast against its backdrop:default17.2:1 light, 13.4:1 dark;subtle9.3:1 and 5.7:1;inherit(blue text) 11.3:1 and 8.9:1;onMedia17.1:1 on its backdropclassNameandxstyleplacement in both forms (FR1, FR8), the labelled form's var declarations (FR6), the default arc and track colors and track opacities (FR5), the hidden ring (AR2) and the start rotation (FR3); plus empty-name tests. FIX open: the themed arc fraction and the server render (PR1) have no automated checkuseAnnounceRenderedTextanduseThemeIndicator. NIT closed: comments that narrated history and cited pull requests (C21; INV29)Shadesstory rendered nosubtleorinheritring (X10); FIX closed: no guidance on hiding a composed Spinner (X16; AR1)@astryx.spinner.loading; logical styles; RTL verified N/A on file (the ring turns the same way in every locale); the label stacks under the ring in both directionslimited; theNarrowFlexHoststory and receipts; FIX open: no long-label receipt (R11)§11 is not run for a released component.
Why the score moved: the §1 empty-name fix, the §6 tests, the §8 story and guidance, the §5b shade frames and the §7 comments.
Pre-fix score: scored from base source and a browser run of the audit spec against a Storybook built from the base
5bc4368(the spec uncommitted beside it). Night Watch records only the landed post-fix result in the score ledger, so the pre-fix score lives here.Findings fixed
aria-labelor stringlabelnamed the indicator with an empty stringcomponent:SpinnerORD1, AR1 (non-empty name sources, then the translated default); WCAG 2.2 4.1.2aria-labelannounces "Loading") fail on the base source and pass at the headclassNameandxstyleplacement, the labelled form's var declarations, the default colors and opacities, the hidden ring and the start rotation as untestedcomponent:Spinnerverification map; rubric V3, V5classNameon the inner span, the track not hidden, theinheritopacity changed, no start rotation) each fail at least oneShadesstory rendered nosubtleorinheritringcomponent:SpinnerFR5Shadesrenders all four; the browser spec checks each one's arc color, track color and track opacitycomponent:SpinnerAR1;spec:AST-086FR8architecture:knowledge-contractsINV29A changeset records the fix.
Needs Review
label(BLOCK, §1). The record names this gap: with alabel, a calleraria-labelledby(and every other passthrough) lands on the role-less wrapper, so it names nothing. Which name wins when a calleraria-labelledbyand a visible string label are both present is not settled by ORD1, so it is left for that decision.label=""still renders an empty Text under the ring. No current record decides whether an empty label renders; it is recorded here, not scored.Evidence
SpinnerAudit.a11y.chromium.spec.tsdrives the Default, Sizes, Shades, WithLabel and NarrowFlexHost stories in the Neutral theme under reduced motion. Every receipt binds the Storybook build SHA and checkout, story, theme, mode, direction, viewport, DPR 2, reduced-motion and forced-colors media, settled fonts, a finished story render and no page errors. Checks that fail the receipt when they do not hold, each in light and dark and both directions:aria-valuenow, a 20 px box, a hidden ring, the accent arc at 3:1 or more; axe clean;smtoxldraw 14, 20, 24 and 36 px boxes;aria-labelledbyand sits below the ring; the rich label keeps itsaria-label;5bc4368(the spec uncommitted beside it), default, sizes, label and narrow pass (16 receipts); the 4 shades receipts fail with "no subtle spinner" and "no inherit spinner" because the story renders neither. The before frames were not kept, so this pull request reports the before run's results, not a frame-by-frame comparison.ec5aa82, all 20 receipts (20 frames) pass, including the 4 shades receipts with all four rings. The head260d903changes only comments, docs, the changeset and the lint baseline after that commit, so no rendered output changes; exact-headpr-a11yruns the audit spec again. Receipts are written totest-results/spinner-audit-evidence/.Shadesstory adds two rings.ec5aa82, the Spinner suites pass (80 tests); after it, the head changes only comments, docs, the changeset and the lint baseline. At the first commit, the Spinner suites withthemingTargets.test.ts,docPropReferences.test.ts,docPropLiterals.test.tsandextensibleAxes.test.tspassed (609 tests), and so did the Core typecheck (with the docs typecheck), the Storybook typecheck andpnpm check:changesets; strict lint on the changed files reported one switch-exhaustiveness error in the audit spec, fixed by a lookup. Exact-head CI runs the rest.Closed evidence inventory
role,aria-label,aria-labelledbyaria-label,label(fixed)ref, target, DOM propsdata-testidmergePropsclassName,xstyle(new),styleboxxstyleSIZES, size varssizeshadeSpinnerMotion.a11y.chromium.spec.tstheming.varsuseThemeIndicatorthemeIndicatorSeams.test.tsxuseAnnounceRenderedTextlabelflexShrink: 0FR10 eligibility report
{ "schema": "astryx.audit-eligibility/v1", "component": "Spinner", "package": "core", "mode": "night-watch", "rubricVersion": "1.16.6", "repository": {"base": "5bc436817b9a", "head": "260d90354991462660652c1ab67ba8d4bcb4be3c"}, "contract": {"id": "component:Spinner", "authority": "current", "changed": false}, "inventory": {"closed": true, "rows": 12}, "remediations": [ {"id": "empty-name-fallback", "kind": "bug-fix", "evidence": "5 name tests and 1 announcement test red at base, green at head"}, {"id": "verification-map-tests", "kind": "objective-test", "evidence": "8 test cases and 1 assertion; 5 mutations each fail at least one"}, {"id": "shades-story", "kind": "objective-test", "evidence": "story; shades receipts"}, {"id": "composed-guidance", "kind": "doc-drift", "evidence": "doc diff; record AR1"}, {"id": "source-comments", "kind": "doc-drift", "evidence": "comment diff; INV29"} ], "unresolved": {"objective": ["themed arc fraction test", "server render test", "long-label receipt"], "manual": ["caller ARIA beside a label (record gap)", "record follow-up", "empty visible label"]}, "approvals": {"specOwner": "not required (no record change)"}, "verdict": {"autoMergeEligible": false, "reasons": ["AST-029 FR11 activation has not shipped", "one open BLOCK", "a runtime fix"]} }